home *** CD-ROM | disk | FTP | other *** search
/ PC World Interactive 7 / PC World Interactive 7.iso / program / ctutord.EXE / 75A.C < prev    next >
C/C++ Source or Header  |  1990-09-17  |  397b  |  24 lines

  1.  
  2. /* 
  3.     There may be additional include files required depending
  4.     upon the compile product you are using. Typical compilers
  5.     include Microsoft C by Microsoft or Turbo C by Boland Int'l.
  6. */
  7. #include <stdio.h>
  8. struct    temp{
  9.     int    at;
  10.     int    bt;
  11. };
  12. main()
  13. {
  14.     struct    temp    test;
  15.     access(&test);
  16. }
  17. access(v)
  18. struct    temp *v;
  19. {
  20.     v->at=100;
  21.     v->bt=200;
  22.     printf("%d %d\n", v->at, v->bt);
  23. }
  24.